package com.uzai.console.vo.report.v2;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author JiangHam
 * @date 2024-05-09 17:19
 */
@ApiModel("实时总览订单信息响应参数（第二版）")
public class RealTimeOverviewV2OrderVo {
    @ApiModelProperty("订单报表汇总数据")
    private OrderInfo totalOrderInfo;
    @ApiModelProperty("订单报表明细")
    private List<OrderInfo> details;

    public OrderInfo getTotalOrderInfo() {
        return totalOrderInfo;
    }

    public void setTotalOrderInfo(OrderInfo totalOrderInfo) {
        this.totalOrderInfo = totalOrderInfo;
    }

    public List<OrderInfo> getDetails() {
        return details;
    }

    public void setDetails(List<OrderInfo> details) {
        this.details = details;
    }

    public static class OrderInfo{
        @ApiModelProperty("付款金额")
        private Double payment;
        @ApiModelProperty("订单笔数")
        private Integer count;
        @ApiModelProperty("佣金")
        private Double commission;
        @ApiModelProperty("利润")
        private Double profit;
        @ApiModelProperty("下单人数")
        private Integer shoppingUserCount;
        @ApiModelProperty("下单率")
        private Double shoppingUserRate;
        @ApiModelProperty("下单率")
        private Double profitRate;
        @ApiModelProperty("平台")
        private Integer platform;

        public Double getPayment() {
            return payment;
        }

        public void setPayment(Double payment) {
            this.payment = payment;
        }

        public Integer getCount() {
            return count;
        }

        public void setCount(Integer count) {
            this.count = count;
        }

        public Double getCommission() {
            return commission;
        }

        public void setCommission(Double commission) {
            this.commission = commission;
        }

        public Double getProfit() {
            return profit;
        }

        public void setProfit(Double profit) {
            this.profit = profit;
        }

        public Integer getShoppingUserCount() {
            return shoppingUserCount;
        }

        public void setShoppingUserCount(Integer shoppingUserCount) {
            this.shoppingUserCount = shoppingUserCount;
        }

        public Double getShoppingUserRate() {
            return shoppingUserRate;
        }

        public void setShoppingUserRate(Double shoppingUserRate) {
            this.shoppingUserRate = shoppingUserRate;
        }

        public Double getProfitRate() {
            return profitRate;
        }

        public void setProfitRate(Double profitRate) {
            this.profitRate = profitRate;
        }

        public Integer getPlatform() {
            return platform;
        }

        public void setPlatform(Integer platform) {
            this.platform = platform;
        }
    }
}
